package com.zdp.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author sesshomaru
 * @date 2019/12/7 22:48
 *
 * Feign中的Ribbon配置
 * 在Feign中配置Ribbon可以直接使用Ribbon的配置（ribbon-service）
 * Feign中的Hystrix配置
 * 在Feign中配置Hystrix可以直接使用Hystrix的配置(hystrix-service)
 *
 *
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class FeignServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignServiceApplication.class,args);
    }
}
